package com.example.spzx.Service;

import cn.hutool.db.PageResult;
import com.example.spzx.model.dto.system.SysRoleDto;
import com.example.spzx.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SysRoleService {

    PageInfo<SysRole> selectlist(String roleName, Integer pageNum, Integer pageSize);

    void add(SysRole sysRole);

    void update(SysRole sysRole);

    void delete(Integer id);

    List<SysRole> selectall();
}
